package com.llt.api.fallback;

import com.llt.api.domain.dto.JudgeSubmitDTO;
import com.llt.api.domain.vo.UserQuestionResultVO;
import com.llt.api.service.RemoteJudgeService;
import com.llt.common.core.domain.R;
import org.springframework.stereotype.Component;

/**
 * @Author: llt
 * @Date: 2025-08-06 上午11:21
 */
@Component
public class RemoteJudgeFallback implements RemoteJudgeService {
    @Override
    public R<UserQuestionResultVO> doJudgeJavaCode(JudgeSubmitDTO judgeSubmitDTO) {
        return R.fail("调用判题服务失败, 服务降级");
    }
}
